package com.javasix;

public class Kanb extends Thread {


    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            try {
                Thread.sleep(1000);
            }catch (Exception e){
                e.printStackTrace();
            }
            System.out.println("特需号："+(i+1)+"号正在看病");
        }
    }
}
